<template>
  <el-dialog
    append-to-body
    title="订单列表"
    :visible.sync="dialogVisible"
    align="left"
    :close-on-click-modal="false"
    :width="'1700px'"
    top="30px">
    <order-page v-if="orderGroupId>0 && dialogVisible" :group-order-id="orderGroupId"/>
  </el-dialog>
</template>

<script>
import RoleTools from '../Tools/RoleTools'
import OrderPage from '../Page/OrderPage'

export default {
  name: 'OrderListDialog',
  props: {
    successFunction: Function
  },
  components: {
    OrderPage
  },
  data: function () {
    return {
      info: '订单详情',
      dialogVisible: false,
      orderGroupId: 0,
    }
  },
  mounted () {
  },
  methods: {
    open:function (orderGroupId) {
      this.orderGroupId=orderGroupId
      this.dialogVisible=true
      this.$forceUpdate()
    }
  }
}
</script>

<style scoped>

</style>
